package com.shan;

import java.util.Scanner;

/**
 * @Author: ShanYuqing
 * @Version: v1.0
 */
public class OperatorDemo3 {
    /*
            需求：键盘录入三个整数，求出最大值并打印在控制台
     */
    public static void main(String[] args) {
        Scanner sc =new Scanner(System.in);
        int a = sc.nextInt();
        int b = sc.nextInt();
        int c = sc.nextInt();
        System.out.println(a);
        System.out.println(b);
        System.out.println(c);
        int max1 = a > b ? a : b;
        int max2 = max1 > c ? max1 : c;
        System.out.println(max2);
    }
}
